package cn.edu.zafu.bigdata.yh;
public class TestStaticDemo {
    public static void main(String[] args) {
        // 创建StaticDemo类的多个实例
        StaticDemo obj1 = new StaticDemo();
        StaticDemo obj2 = new StaticDemo();
        StaticDemo obj3 = new StaticDemo();

        // 调用StaticDemo.displayCount()静态方法
        StaticDemo.displayCount();

        // 观察程序的执行顺序，并总结静态初始化块、实例初始化块、构造方法、静态方法的执行顺序
    }
}
